package com.yidu.qx.service;

/**
 * @program: jurisdiction
 * @description
 * @author: 周佳佳
 * @create: 2019-09-25 14:49
 **/

import com.yidu.qx.action.vo.UserEntityVo;
import com.yidu.qx.domain.QxCharacterEntity;
import com.yidu.qx.domain.QxUserEntity;
import com.yidu.qx.utils.Pages;

import java.util.List;
import java.util.Map;

/**
 * 角色表service
 */
public interface CharacterService {
    void add(QxCharacterEntity qxCharacterEntity);

    void delete(QxCharacterEntity qxCharacterEntity);

    void update(QxCharacterEntity qxCharacterEntity);
    List<UserEntityVo> findAll(UserEntityVo userEntityVo, Pages pages);
    Map<String,Object> findAll(QxCharacterEntity qxCharacterEntity, Pages pages);

    QxCharacterEntity findById(String id);
    List<UserEntityVo> findAllone();
    /**
     * 总行数
     * @return
     */
    Long count(QxCharacterEntity qxCharacterEntity);

    Map<String,Object> index(QxUserEntity qxUserEntity);
}
